package com.dxy.yesas2020goals.study.partone.disignprinciple.simpleresponsibility.simple;

/**
 * @author victorydeng
 * @Classname Course
 * @Description 课程类
 * @Date 2020/2/24 22:43
 * @Created by victorydeng
 */
public class Course {

  public void study(String courseName) {
    if ("直播课".equals(courseName)) {
      System.out.println("不能快进");
    } else {
      System.out.println("可以任意的来回播放");
    }
  }
}
